cmake_minimum_required(VERSION 3.18)
project(cunix C)

set(CMAKE_C_STANDARD 99)

find_package(Threads REQUIRED)


add_executable(cunix main.c include/my_err.h)
target_link_libraries(cunix PRIVATE ${CMAKE_THREAD_LIBS_INIT})